package tmall.portal.spring;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.core.PriorityOrdered;

public class Priority4OrderedPostProcess implements BeanFactoryPostProcessor,PriorityOrdered {
    @Override
    public int getOrder() {
        return 4;
    }

    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
        System.out.println("Priority4OrderedPostProcess");
    }
}
